<%-- 
    Document   : CreateArticle
    Created on : May 19, 2013, 3:51:16 PM
    Author     : Lada
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@ taglib uri="http://ckeditor.com" prefix="ckeditor" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <script language="javascript" src="<%= request.getContextPath()%>/ckeditor/ckeditor.js" type=”text/javascript”></script>
        <script language="javascript" src="../../ckeditor/ckeditor.js" type=”text/javascript”></script>
    </head>
    <body>
        <form action="<%= request.getContextPath()%>/CreateArticleAction" method="get">
           Name: <input type="text" name="name" /><br />
           Description: <textarea name="description" rows="3"></textarea>
           
            <p>
                <label for="editor1">Editor 1:</label>
                <textarea cols="80" id="editor1" name="editor1" rows="10"></textarea>
            </p>
            <p>
                <input type="submit" value="Submit" />
            </p>
        
       
        <ckeditor:replace replace="editor1" basePath="../../ckeditor/" />
        </form>
    </body>
</html>
